import request from '@/utils/request.js'
export function reqLogin (form) {
  return request({
    method: 'post',
    url: '/api/login',
    data: form
  })
}
export function reqRegister (form) {
  return request({
    method: 'post',
    url: '/api/reg',
    data: form
  })
}
